package com.ruoyi.pet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例对象 pet_diagnosis
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
public class PetDiagnosis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 外键关联宠物表 */
    @Excel(name = "外键关联宠物表")
    private Long petId;

    /** 诊断医师 */
    @Excel(name = "诊断医师")
    private String doctorName;

    /** 医生诊断主诉 */
    @Excel(name = "医生诊断主诉")
    private String chiefComplaint;

    /** 症状描述 */
    @Excel(name = "症状描述")
    private String symptom;

    /** 医生诊断信息 */
    @Excel(name = "医生诊断信息")
    private String diagnosticOpinion;

    /** 宠物体重 */
    @Excel(name = "宠物体重")
    private Long weight;

    /** 宠物体温 */
    @Excel(name = "宠物体温")
    private Long temperature;

    /** 宠物心率 */
    @Excel(name = "宠物心率")
    private Long heartRate;

    /** 诊断类型 */
    @Excel(name = "诊断类型")
    private Integer type;

    /** 宠物CTR */
    @Excel(name = "宠物CTR")
    private String ctr;

    /** 宠物血压 */
    @Excel(name = "宠物血压")
    private String bloodPressure;

    /** 宠物防疫状态 */
    @Excel(name = "宠物防疫状态")
    private String preventionStatus;

    /** 处方编号 */
    @Excel(name = "处方编号")
    private Long prescriptionId;

    /** 数据创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 数据最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setChiefComplaint(String chiefComplaint) 
    {
        this.chiefComplaint = chiefComplaint;
    }

    public String getChiefComplaint() 
    {
        return chiefComplaint;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }
    public void setDiagnosticOpinion(String diagnosticOpinion) 
    {
        this.diagnosticOpinion = diagnosticOpinion;
    }

    public String getDiagnosticOpinion() 
    {
        return diagnosticOpinion;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setTemperature(Long temperature) 
    {
        this.temperature = temperature;
    }

    public Long getTemperature() 
    {
        return temperature;
    }
    public void setHeartRate(Long heartRate) 
    {
        this.heartRate = heartRate;
    }

    public Long getHeartRate() 
    {
        return heartRate;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCtr(String ctr) 
    {
        this.ctr = ctr;
    }

    public String getCtr() 
    {
        return ctr;
    }
    public void setBloodPressure(String bloodPressure) 
    {
        this.bloodPressure = bloodPressure;
    }

    public String getBloodPressure() 
    {
        return bloodPressure;
    }
    public void setPreventionStatus(String preventionStatus) 
    {
        this.preventionStatus = preventionStatus;
    }

    public String getPreventionStatus() 
    {
        return preventionStatus;
    }
    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("doctorName", getDoctorName())
            .append("chiefComplaint", getChiefComplaint())
            .append("symptom", getSymptom())
            .append("diagnosticOpinion", getDiagnosticOpinion())
            .append("weight", getWeight())
            .append("temperature", getTemperature())
            .append("heartRate", getHeartRate())
            .append("type", getType())
            .append("ctr", getCtr())
            .append("bloodPressure", getBloodPressure())
            .append("preventionStatus", getPreventionStatus())
            .append("prescriptionId", getPrescriptionId())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
